package com.jwthhealth_pub.old.diet.moudel;

import java.io.Serializable;
import java.util.List;

/**
 * 饮食调养二级菜单module
 * Created by Administrator on 2016/12/28.
 */

public class DietSecModule implements Serializable{

    /**
     * code : 0
     * msg : 成功
     * data : [{"id":"24","name":"梨","pic_path":"http://192.168.1.206/images/default.png","short_desc":"性寒、味甘，有润肺、消痰、止咳、降火、清","type":"1","typename":"食材"},{"id":"2","name":"黄花菜红枣炖猪心","pic_path":"http://192.168.1.206/images/yhpw-15.png","short_desc":"[功效]猪心能补血养心，黄花菜能清热、凉","type":"3","typename":"主食"},{"id":"65","name":"桑杏菊花甜汤","pic_path":"http://192.168.1.206/images/hdnj-36.png","short_desc":"[配方]杏仁粉50克，果冻粉15克，细糖","type":"4","typename":"粥"},{"id":"21","name":"鸭肉粥","pic_path":"http://192.168.1.206/images/yhpw-57.png","short_desc":"[功效]滋阴清热、补虚强身。","type":"5","typename":"汤"}]
     */

    private String code;
    private String msg;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * id : 24
         * name : 梨
         * pic_path : http://192.168.1.206/images/default.png
         * short_desc : 性寒、味甘，有润肺、消痰、止咳、降火、清
         * type : 1
         * typename : 食材
         */

        private String id;
        private String name;
        private String pic_path;
        private String short_desc;
        private String type;
        private String typename;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPic_path() {
            return pic_path;
        }

        public void setPic_path(String pic_path) {
            this.pic_path = pic_path;
        }

        public String getShort_desc() {
            return short_desc;
        }

        public void setShort_desc(String short_desc) {
            this.short_desc = short_desc;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getTypename() {
            return typename;
        }

        public void setTypename(String typename) {
            this.typename = typename;
        }
    }
}
